import { http } from '@/utils/http'

export const createpatient = (data: any) => {
  return http<any>({
    method: 'POST',
    url: '/filing',
    data
  })
}
export const modifyFile = (data: any) => {
  return http<any>({
    method: 'POST',
    url: '/modifyFile',
    data
  })
}
export const getAllCrowd = () => {
  return http<any>({
    method: 'GET',
    url: '/crowd/getAllCrowd'
  })
}
export const Signing = (data: any) => {
  return http<any>({
    method: 'POST',
    url: '/signing',
    data,
  })
}
export const signhome = (data: any) => {
  console.log(data);

  return http<any>({
    method: 'POST',
    url: '/signingHome',
    data,
  })
}